[INFO] cloning repository https://github.com/radumarias/rust_examples_from_book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radumarias/rust_examples_from_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 329c06c844c11f77e8ae8c8cc2b64093848e3c29
[INFO] testing radumarias/rust_examples_from_book against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/radumarias/rust_examples_from_book
[INFO] finished tweaking git repo https://github.com/radumarias/rust_examples_from_book
[INFO] tweaked toml for git repo https://github.com/radumarias/rust_examples_from_book written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/radumarias/rust_examples_from_book on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/radumarias/rust_examples_from_book already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c67fa47dacec73720fad64cd1b7766a75cd1dc0a9668fbd5ba91b83878b722fe
[INFO] running `Command { std: "docker" "start" "-a" "c67fa47dacec73720fad64cd1b7766a75cd1dc0a9668fbd5ba91b83878b722fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c67fa47dacec73720fad64cd1b7766a75cd1dc0a9668fbd5ba91b83878b722fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c67fa47dacec73720fad64cd1b7766a75cd1dc0a9668fbd5ba91b83878b722fe", kill_on_drop: false }`
[INFO] [stdout] c67fa47dacec73720fad64cd1b7766a75cd1dc0a9668fbd5ba91b83878b722fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9312c47754d04964a6600b349f34a108b95da5a1c59ff175ca8464171795080
[INFO] running `Command { std: "docker" "start" "-a" "f9312c47754d04964a6600b349f34a108b95da5a1c59ff175ca8464171795080", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hello_world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "f9312c47754d04964a6600b349f34a108b95da5a1c59ff175ca8464171795080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9312c47754d04964a6600b349f34a108b95da5a1c59ff175ca8464171795080", kill_on_drop: false }`
[INFO] [stdout] f9312c47754d04964a6600b349f34a108b95da5a1c59ff175ca8464171795080
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6bc615587c57427e84ad48ead873973598bd9107bc1b463cdbbc09729152834
[INFO] running `Command { std: "docker" "start" "-a" "d6bc615587c57427e84ad48ead873973598bd9107bc1b463cdbbc09729152834", kill_on_drop: false }`
[INFO] [stderr]    Compiling hello_world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> examples/deref.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/rc.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let b = Cons(3, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/rc.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c = Cons(4, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/rc.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let b = Cons(3, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/rc.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let c = Cons(4, Rc::clone(&a));
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/unsafe.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> examples/unsafe.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | unsafe trait Foo {
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_at_mut` is never used
[INFO] [stdout]   --> examples/unsafe.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn split_at_mut(values: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> examples/rc.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Cons(i32, Rc<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 2 -     Cons(i32, Rc<List>),
[INFO] [stdout] 2 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/unsafe.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> examples/iterators.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     struct Shoe {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> examples/iterators.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> examples/errors.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, ErrorKind, Read};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]  --> examples/tests.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn add(x: i32, y: i32) -> i32 {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> examples/tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guess {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 7 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> examples/patterns.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let v = vec![1, 2, 3];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feet`
[INFO] [stdout]    --> examples/patterns.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |           ^^^^ help: if this is intentional, prefix it with an underscore: `_feet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inches`
[INFO] [stdout]    --> examples/patterns.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> examples/patterns.rs:111:34
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                  ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> examples/patterns.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                     ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> examples/errors.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut file = file_r.unwrap_or_else(|error| match error.kind() {
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]  --> examples/patterns.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variant in this enum
[INFO] [stdout] 2 |     Rgb(i32, i32, i32),
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyIter` is never constructed
[INFO] [stdout]  --> examples/patterns.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MyIter {}
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed
[INFO] [stdout]   --> examples/patterns.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     enum Message {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 85 |         Quit,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 86 |         Move { x: i32, y: i32 },
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 87 |         Write(String),
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> examples/patterns.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     struct Point3D {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 136 |         x: i32,
[INFO] [stdout] 137 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 138 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]    --> examples/patterns.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn a(_: Option<i32>) {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]  --> examples/errors.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut file = file_r.unwrap_or_else(|error| match error.kind() {
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `username`
[INFO] [stdout]   --> examples/errors.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let username = fs::read_to_string("hello.txt")?;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]   --> examples/errors.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn last_char_of_first_line(s: &str) -> Option<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `IterMut<'_, T>` is more private than the item `LinkedList::<T>::iter_mut`
[INFO] [stdout]    --> examples/linked_list.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 361 |     pub fn iter_mut(&self) -> IterMut<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `LinkedList::<T>::iter_mut` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `IterMut<'_, T>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> examples/linked_list.rs:313:1
[INFO] [stdout]     |
[INFO] [stdout] 313 | struct IterMut<'a, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> examples/linked_list.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 303 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> examples/linked_list.rs:361:21
[INFO] [stdout]     |
[INFO] [stdout] 361 |     pub fn iter_mut(&self) -> IterMut<T> {
[INFO] [stdout]     |                     ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 361 |     pub fn iter_mut(&self) -> IterMut<'_, T> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/cycles.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 7 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `More` is never constructed
[INFO] [stdout]   --> examples/stack_enum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Link {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 10 |     Empty,
[INFO] [stdout] 11 |     More(Box<Node>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> examples/weak.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 6 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 8 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> examples/macros.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> examples/traits.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let s1 = f1(1).f1();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> examples/traits.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = 3.to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]  --> examples/traits.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn some_function<T, U>(_t: &T, _u: &U) -> i32
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> examples/main2.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     struct Rectangle<T> {
[INFO] [stdout]    |                      ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Rectangle`
[INFO] [stdout]   --> examples/main2.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     impl Rectangle {
[INFO] [stdout]    |          ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> examples/main2.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     struct Rectangle<T> {
[INFO] [stdout]    |            ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 58 |     impl Rectangle<T> {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0392.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_world` (example "main2") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `std::os::unix::fs::chroot`
[INFO] [stdout]   --> examples/box.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::unix::fs::chroot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PendingReviewPost` is more private than the item `DraftPost::request_review`
[INFO] [stdout]   --> examples/state_pattern.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn request_review(self) -> PendingReviewPost {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `DraftPost::request_review` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `PendingReviewPost` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> examples/state_pattern.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct PendingReviewPost {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reject` is never used
[INFO] [stdout]   --> examples/state_pattern.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl PreApprovedPost {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn reject(self) -> DraftPost {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `navigate_cons_rec` is never used
[INFO] [stdout]   --> examples/box.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn navigate_cons_rec(root: List) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `navigate_cons_iter` is never used
[INFO] [stdout]   --> examples/box.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn navigate_cons_iter(root: List) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> examples/box.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn iter(&self) -> ListIter {
[INFO] [stdout]   |             ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |             |
[INFO] [stdout]   |             the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn iter(&self) -> ListIter<'_> {
[INFO] [stdout]   |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d6bc615587c57427e84ad48ead873973598bd9107bc1b463cdbbc09729152834", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6bc615587c57427e84ad48ead873973598bd9107bc1b463cdbbc09729152834", kill_on_drop: false }`
[INFO] [stdout] d6bc615587c57427e84ad48ead873973598bd9107bc1b463cdbbc09729152834
